﻿<div class="select">
    <span class="select-border js-select2">
        <input class="select-text" type="text" readonly placeholder="" ng-model="text" ng-disabled="disabled" />
        <span class="select-icon"><i class="select-icon-arrow"></i></span>
    </span>
    <div class="select-sub">
        <a href="javascript:void(0);" style="border-bottom: 1px solid #CED3D9;">
            <label class="checkbox">
                <input type="checkbox"
                       ng-change="checkAllChanged(!!checkedAll)"
                       ng-model="checkedAll">
                <span>选择全部</span>
            </label>
        </a>
        <a href="javascript:void(0);" ng-repeat="record in data">
            <label class="checkbox">
                <input type="checkbox"
                       ng-change="checkChanged(record)"
                       ng-model="record.checked">
                <span ng-bind="record.text"></span>
            </label>
        </a>
    </div>
</div>